#coding=utf-8
"""
===========================
Author:杭州多测师_xjp
Time:2023/3/24 17:26
website:https://duoceshi.net
===========================
"""
class Pages_Element():
    #1.用户名输入框的定位元素
    username=('id','userAccount')
    #2.密码框的定位元素
    passWord = ('id', "loginPwd")
    # 3.点击登录
    loginBtn = ('id', 'loginBtn')
    # 4.断言
    deskTop = ('xpath', '//*[@id="min_title_list"]/li/span')
    # 5.点击用户中心
    user_center=('xpath','/html/body/div/aside/div/dl[1]/dt')
    # 6.点击用户管理
    user_manager=('xpath','/html/body/div/aside/div/dl[1]/dd/ul/li[1]/a')
    # 7.定位第一个iframe框
    iframe1=('xpath','/html/body/div/section/div[2]/div[2]/iframe')
    # 8.添加用户
    addUser=('xpath','/html/body/div/div[2]/span[1]/a[2]')
    # 9.定位第二个iframe框
    iframe2=('xpath','/html/body/div[3]/div/iframe')
    # 10.输入要添加的用户姓名
    user_input=('xpath','/html/body/div/div/form/table/tbody/tr[1]/td/input[2]')
    # 11.选择性别
    sex=('xpath','/html/body/div/div/form/table/tbody/tr[2]/td/label[1]/input')
    # 12.填写手机号
    user_tel=('xpath','/html/body/div/div/form/table/tbody/tr[3]/td/input')
    #
    user_emil=('xpath','/html/body/div/div/form/table/tbody/tr[4]/td/input')

    login_num=('xpath','/html/body/div/div/form/table/tbody/tr[5]/td/input')

    login_pwd=('xpath','/html/body/div/div/form/table/tbody/tr[6]/td/input')

    login_pwd2=('xpath','/html/body/div/div/form/table/tbody/tr[7]/td/input')

    recept1=('xpath','/html/body/div/div/form/table/tbody/tr[8]/td/button')


    #
    iframe3=('xpath','/html/body/div/section/div[2]/div[2]/iframe')
    # 点击删除用户
    del_user1=('xpath','/html/body/div/table/tbody/tr[1]/td[9]/a[4]/i')
    # 点击确认
    accept1=('xpath','/html/body/div[3]/div[1]/span[2]/a[1]')
    #

    # 修改
    iframe4=('xpath','/html/body/div/section/div[2]/div[2]/iframe')

    change1=('xpath','/html/body/div/table/tbody/tr[1]/td[9]/a[2]/i')

    iframe5=('xpath','/html/body/div[3]/div/iframe')

    change_username=('xpath','/html/body/div/div/form/table/tbody/tr[1]/td/input[2]')

    accept2=('xpath','/html/body/div/div/form/table/tbody/tr[8]/td/button')



    # 查询
    iframe6=('xpath','/html/body/div/section/div[2]/div[2]/iframe')

    select1=('xpath','/html/body/div/div[1]/input[3]')

    accept3=('xpath','/html/body/div/div[1]/button')












